-- card: 41273 from stack: in.5 -- bmap block id: 45810 -- flags: 0000 -- background id: 3858 -- name: TotalRam ----- HyperTalk script ----- on hideObjects hide cd btn "Try It!" end hideObjects on showObjects show cd btn "Try It!" end showObjects -- part 1 (button) -- low flags: 00 -- high flags: A002 -- rect: left=82 top=185 right=219 bottom=175 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 8192 -- line height: 16 -- part name: Try it! ----- HyperTalk script ----- on mouseUp answer "This Mac has" && TotalRam() div 1024 && "Kbytes of ram." end mouseUp -- part contents for background part 38 ----- text ----- 46/50 -- part contents for background part 20 ----- text ----- An XFCN which returns the total amount of ram in the Macintosh (in bytes). Calling syntax : TotalRam()